package com.dq.Pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "成绩表" )
public class Grade {
    @Id
    private Integer gradeid;
    private Integer stuid;

    @Column(name = "学生姓名")
    private String name;

    private Integer classid;

    @Column(name = "班级")
    private String classname;

    private Integer courseid;

    @Column(name = "课程")
    private String coursename;

    @Column(name = "出勤分数")
    private float attendNum;
    @Column(name = "课堂任务分数")
    private float classtaskNum;
    @Column(name = "课后任务分数")
    private float aftertaskNum;
    @Column(name = "实验报告分数")
    private float experimentNum;
    @Column(name = "平时分数")
    private float usualscoreNum;
    @Column(name = "期末分数")
    private float finalscoreNum;
    @Column(name = "课程总分")
    private float totalNum;



}
